package com.szx.kaihei.service;

import com.szx.kaihei.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.szx.kaihei.pojo.dto.LoginDto;
import com.szx.kaihei.pojo.vo.UserInfoVo;
import org.springframework.stereotype.Service;

/**
* @author Szx
* @description 针对表【user(用户表)】的数据库操作Service
* @createDate 2025-06-10 08:25:36
*/

public interface UserService extends IService<User> {

    String userLogin(LoginDto loginDto);

    String userRegister(LoginDto loginDto);

    UserInfoVo getUserById(Long id);

    UserInfoVo getUserByToken();
}
